package com.atgion.manager;
import com.atgion.manager.properties.MinioProperties;
import com.atgion.common.log.annoyation.EnableLogAspect;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import org.springframework.boot.context.properties.EnableConfigurationProperties;

import org.springframework.scheduling.annotation.EnableScheduling;

import org.springframework.context.annotation.ComponentScan;



@EnableLogAspect  //日志切面
@MapperScan("com.atgion.manager.mapper")
@ComponentScan(basePackages = "com.atgion") // 确保GlobalExceptionHandler类被加载
@SpringBootApplication
@EnableConfigurationProperties(value = { MinioProperties.class})
@EnableScheduling//开启定时任务
public class ManagerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ManagerApplication.class,args);
    }
}